
package com.zb.controller.show;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;


@Controller
@RequestMapping(value = "/show")
public class ShowController {
    @RequestMapping(value = "/tag.do")
    public ModelAndView tag(HttpServletRequest request,
            HttpServletResponse response, HttpSession session)
            throws ServletException {
        return new ModelAndView("/page/show/tag");
    }

    @RequestMapping(value = "/tips.do")
    public ModelAndView tips(HttpServletRequest request,
            HttpServletResponse response, HttpSession session)
            throws ServletException {
        return new ModelAndView("/page/show/tips");
    }

    @RequestMapping(value = "/pagination.do")
    public ModelAndView pagination(HttpServletRequest request,
            HttpServletResponse response, HttpSession session)
            throws ServletException {
        return new ModelAndView("/page/show/paginations");
    }

    @RequestMapping(value = "/button.do")
    public ModelAndView button(HttpServletRequest request,
            HttpServletResponse response, HttpSession session)
            throws ServletException {
        return new ModelAndView("/page/show/buttons");
    }

    @RequestMapping(value = "/tipMsg.do")
    public ModelAndView tipMsg(HttpServletRequest request,
            HttpServletResponse response, HttpSession session)
            throws ServletException {
        return new ModelAndView("/page/show/tipMsg");
    }

    @RequestMapping(value = "/dialog.do")
    public ModelAndView dialog(HttpServletRequest request,
            HttpServletResponse response, HttpSession session)
            throws ServletException {
        return new ModelAndView("/page/show/dialog");
    }

    @RequestMapping(value = "/icon.do")
    public ModelAndView icon(HttpServletRequest request,
            HttpServletResponse response, HttpSession session)
            throws ServletException {
        return new ModelAndView("/page/show/icon");
    }

    @RequestMapping(value = "/ajax.do")
    public ModelAndView ajax(HttpServletRequest request,
            HttpServletResponse response, HttpSession session)
            throws ServletException {
        return new ModelAndView("/page/show/ajax");
    }

    @RequestMapping(value = "/datagrid.do")
    public ModelAndView datagrid(HttpServletRequest request,
            HttpServletResponse response, HttpSession session)
            throws ServletException {
        return new ModelAndView("/page/show/datagrid");
    }

    @RequestMapping(value = "/forms.do")
    public ModelAndView form(HttpServletRequest request,
            HttpServletResponse response, HttpSession session)
            throws ServletException {
        return new ModelAndView("/page/show/forms");
    }

    @RequestMapping(value = "/tree.do")
    public ModelAndView tree(HttpServletRequest request,
            HttpServletResponse response, HttpSession session)
            throws ServletException {
        return new ModelAndView("/page/show/tree");
    }

    @RequestMapping(value = "/menu_switch.do")
    public ModelAndView menu_switch(HttpServletRequest request,
            HttpServletResponse response, HttpSession session)
            throws ServletException {
        return new ModelAndView("/page/show/menu_switch");
    }
}
